﻿using System;

namespace DotNetBurner.SubmitBot
{
    public class MessageEventArgs : EventArgs
    {
        public string Message
        {
            get;
            set;
        }
    }

    public class FormLog : ILog
    {
        public event EventHandler<MessageEventArgs> MessageReceived;

        public void Message(string message)
        {
            if (MessageReceived != null)
                MessageReceived(this, new MessageEventArgs { Message = message });
        }
    }
}
